;#############################
;命令：
;nasm -f elf64 day2_0function_0function_with_no_argument_0base.asm -o main.o && ld main.o -o main && ./main
;输出：
;Hello, World!
;#############################
section .data
	msg: db "Hello, World!", 10, 0

section .text
	global _start

_start:
	call printHello

	call exit

printHello:
	mov rax, 1
	mov rdi, 1
	mov rsi, msg
	mov rdx, 14
	syscall

	ret

exit:
	mov rax, 60
	mov rdi, 0
	syscall

	ret
